<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>    
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<jsp:include page="/common.jsp"></jsp:include>
</head>
<body>
	${title }
	${toolBar }
	<form id="form" action="sales/otherSales?list">
		<div class="row-fluid">
			<table
				class="table table-striped table-bordered table-condensed  table-hover">
				<thead>
					<tr>
						<td style="width: 5px;"><input type="checkbox" name="ids"
							id="ids" onclick="tb_check()" /></td>
						<th>编号</th>
						<th>名称</th>
						<th>销售人员</th>
						<th>店铺</th>
						<th>金额</th>
						<th>时间</th>
						<th>备注</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="otherSales" items="${t}">
						<tr>
							<td><input type="checkbox" name="ids" value="${otherSales.id}" /></td>
							<td>${otherSales.id}</td>
							<td>${otherSales.name}</td>
							<td>${otherSales.saler}</td>
							<td>${otherSales.shop}</td>
							<td>${otherSales.price}</td>
							<td><fmt:formatDate value="${otherSales.date}" pattern="yyyy-MM-dd"/></td>
							<td>${otherSales.remark}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>

		<jsp:include page="/pager.jsp"></jsp:include>
	</form>
</body>
</html>